<template>
	<!-- 头像 -->
	<div class="pic" :style="{width:width+'rem',height:height+'rem'}">
		<img :src="url">
	</div>
</template>
<script>
export default {
    props:["url","width","height"],
	data(){
		return{
			
		}
	},
};
</script>
<style lang="scss" scoped>
	.pic{
		overflow: hidden;
		border-radius: 4px;
		img{
			width: 100%;
			height: 100%;
		}
	}
</style>
